﻿<%@ Page Title="" Language="C#" MasterPageFile="~/edit/Admin.Master" AutoEventWireup="true" CodeBehind="PageList.aspx.cs" Inherits="ChgDoc.Edit.PageList" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="pageContent" runat="server">

<div class="formStyle">
	<asp:datagrid id="grdList" runat="server" autogeneratecolumns=false OnItemCommand="grdList_ItemCommand" CssClass="grid" >
	<HeaderStyle CssClass="gridHeader" />
	<columns>
		<asp:BoundColumn DataField="Id" visible="false" readonly="true" />
		<asp:BoundColumn DataField="Url"  HeaderText="Url"/>
		<asp:BoundColumn DataField="Render" headertext="Type" />
		<asp:ButtonColumn ButtonType="Linkbutton" CommandName="Edit" Text="Edit" />
		<asp:ButtonColumn ButtonType="Linkbutton" CommandName="Delete" Text="Delete" />
	</columns>
	</asp:datagrid>
    <br />
    <a href="PageEdit.aspx?returnurl=Pagelist.aspx" text="New page" Class="ui-state-default" style="margin:10px;">Add</a>

</div>
</asp:Content>
